import request from './service'
export const loginApi = (params) => request('/login', params, 'post') //登入
export const ageApi = (params) => request('/business/synthesisDistribution/age', params, 'get') //年龄
export const fromApi = (params) => request('/business/synthesisDistribution/from', params, 'get') //来源地
export const sexApi = (params) => request('/business/synthesisDistribution/sex', params, 'get') //性别
export const regionApi = (params) => request('/business/synthesisDistribution/region', params, 'get') //平均停留天数
export const travelApi = (params) => request('/business/synthesisDistribution/travel', params, 'get') //出行方式
export const peoplesApi = () => request('/business/syncCmsData/peoples', 'get') //总人数
export const increaseApi = (params) => request('/business/syncCmsData/increase', params, 'get') //用户增长趋势
export const commentApi = () => request('/business/syncCmsData/top10', 'get') //文章
export const dataApi = (params = {}) => request('/business/people/data', params, 'get') //客流检测
export const peopleIncreaseApi = (params = {}) => request('/business/people/increase', params, 'get') //客流趋势
export const carApi = (params = {}) => request('/business/car/top10', params, 'get') //停车场top10
export const carTotalApi = () => request('/business/car/data', 'get') //总车流和今日车流
export const carIncreaseApi = (params = {}) => request('/business/car/increase', params, 'get') //车流趋势
export const carFromApi = (params = {}) => request('/business/car/top10from', params, 'get') //车辆来源top10
export const mapApi = (params = {}) => request('/business/index/tourism', params, 'get') //地图数据
export const indexApi = () => request('/business/index/data', 'get') //首页
export const mapCount = () => request('/business/index/mapCount', 'get') //地图类型数量
export const searchApi = (params = {}) => request('/au/weiXinMp/getOrders', params, 'get') //地图搜索